package com.groupbuying.currency.producer.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.currency.producer.dao.PlatformInfoDao;
import com.groupbuying.currency.producer.domain.PlatformInfoDO;
import com.groupbuying.currency.producer.service.PlatformInfoService;



@Service
public class PlatformInfoServiceImpl implements PlatformInfoService {
	@Autowired
	private PlatformInfoDao platformInfoDao;
	
	@Override
	public PlatformInfoDO get(String platformId){
		return platformInfoDao.get(platformId);
	}
	
	@Override
	public List<PlatformInfoDO> list(Map<String, Object> map){
		return platformInfoDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return platformInfoDao.count(map);
	}
	
	@Override
	public int save(PlatformInfoDO platformInfo){
		return platformInfoDao.save(platformInfo);
	}
	
	@Override
	public int update(PlatformInfoDO platformInfo){
		return platformInfoDao.update(platformInfo);
	}
	
	@Override
	public int remove(String platformId){
		return platformInfoDao.remove(platformId);
	}
	
	@Override
	public int batchRemove(String[] platformIds){
		return platformInfoDao.batchRemove(platformIds);
	}
	
}
